﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WebFrontEnd
{
    public class MessagingToolkitQREncoder : IQREncoder
    {
        public System.Drawing.Bitmap GetQRBitmap(string stringToEncode)
        {
            MessagingToolkit.QRCode.Codec.QRCodeEncoder encoder = new MessagingToolkit.QRCode.Codec.QRCodeEncoder();
            return encoder.Encode(stringToEncode);
        }
    }
}